<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>WebView Test</title>
</head>
<body>
    <h2>Test WKWebView Window Open and Close</h2>

    <!-- Link to open in a new window -->
    <a href="https://www.mozilla.org/" target="_blank">Open in New Window</a>

    <button onclick="window.open('https://www.mozilla.org/')">Open new pop up Window</button>

    <br><br>

    <button onclick="alert('This is an Alert')">SHOW ALERT</button>
    <button onclick="confirm('This is a Confirmation')">SHOW CONFIRM</button>
    <button onclick="prompt('This is a Prompt')">SHOW PROMPT</button>
</body>
</html>
